const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  productionSourceMap: false,
  publicPath: process.env.NODE_ENV === 'development' ? '/' : `./`,
  configureWebpack: config => {
    if (process.env.NODE_ENV !== 'production') {
      config.devtool = 'cheap-source-map';
    }
  },
})
